package com.study.myteach.责任链模式;

/**
 * @author lk
 * @date 2021/4/23 0023 11:22
 * @description:
 */
public abstract class Role {

    protected Role succesor;

    public void setSuccesor(Role role) {
        this.succesor = role;
    }

    public abstract void processOrder(Order order);


}
